﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ESRPDataSetValute" targetNamespace="http://tempuri.org/ESRPDataSetValute.xsd" xmlns:mstns="http://tempuri.org/ESRPDataSetValute.xsd" xmlns="http://tempuri.org/ESRPDataSetValute.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ESRPConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ESRPConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ERPForms.Properties.Settings.GlobalReference.Default.ESRPConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ValutaTableAdapter" GeneratorDataComponentClassName="ValutaTableAdapter" Name="Valuta" UserDataComponentName="ValutaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ESRPConnectionString (Settings)" DbObjectName="ESRP.dbo.Valuta" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Valuta] WHERE (([CodValuta] = @Original_CodValuta) AND ([Denumire] = @Original_Denumire) AND ([Simbol] = @Original_Simbol) AND ([Utilizat] = @Original_Utilizat) AND ([MonedaImplicita] = @Original_MonedaImplicita))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Simbol" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Simbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Utilizat" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Utilizat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MonedaImplicita" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MonedaImplicita" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Valuta] ([Denumire], [Simbol], [Utilizat], [MonedaImplicita]) VALUES (@Denumire, @Simbol, @Utilizat, @MonedaImplicita);
SELECT CodValuta, Denumire, Simbol, Utilizat, MonedaImplicita FROM Valuta WHERE (CodValuta = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Simbol" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Simbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Utilizat" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Utilizat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MonedaImplicita" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MonedaImplicita" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodValuta, Denumire, Simbol, Utilizat, MonedaImplicita FROM Valuta</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Valuta] SET [Denumire] = @Denumire, [Simbol] = @Simbol, [Utilizat] = @Utilizat, [MonedaImplicita] = @MonedaImplicita WHERE (([CodValuta] = @Original_CodValuta) AND ([Denumire] = @Original_Denumire) AND ([Simbol] = @Original_Simbol) AND ([Utilizat] = @Original_Utilizat) AND ([MonedaImplicita] = @Original_MonedaImplicita));
SELECT CodValuta, Denumire, Simbol, Utilizat, MonedaImplicita FROM Valuta WHERE (CodValuta = @CodValuta)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Simbol" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Simbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Utilizat" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Utilizat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MonedaImplicita" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MonedaImplicita" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Simbol" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Simbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Utilizat" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Utilizat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MonedaImplicita" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MonedaImplicita" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CodValuta" ColumnName="CodValuta" DataSourceName="ESRP.dbo.Valuta" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodValuta" DataSetColumn="CodValuta" />
              <Mapping SourceColumn="Denumire" DataSetColumn="Denumire" />
              <Mapping SourceColumn="Simbol" DataSetColumn="Simbol" />
              <Mapping SourceColumn="Utilizat" DataSetColumn="Utilizat" />
              <Mapping SourceColumn="MonedaImplicita" DataSetColumn="MonedaImplicita" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ValutaCursTableAdapter" GeneratorDataComponentClassName="ValutaCursTableAdapter" Name="ValutaCurs" UserDataComponentName="ValutaCursTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ESRPConnectionString (Settings)" DbObjectName="ESRP.dbo.ValutaCurs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [ValutaCurs] WHERE (([IDCursValutar] = @Original_IDCursValutar) AND ([CodValuta] = @Original_CodValuta) AND ([Data] = @Original_Data) AND ([ValoareLei] = @Original_ValoareLei) AND ([IDBanca] = @Original_IDBanca))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IDCursValutar" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IDCursValutar" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ValoareLei" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValoareLei" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_IDBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IDBanca" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [ValutaCurs] ([CodValuta], [Data], [ValoareLei], [IDBanca]) VALUES (@CodValuta, @Data, @ValoareLei, @IDBanca);
SELECT IDCursValutar, CodValuta, Data, ValoareLei, IDBanca FROM ValutaCurs WHERE (IDCursValutar = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ValoareLei" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValoareLei" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@IDBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IDBanca" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT IDCursValutar, CodValuta, Data, ValoareLei, IDBanca FROM ValutaCurs</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [ValutaCurs] SET [CodValuta] = @CodValuta, [Data] = @Data, [ValoareLei] = @ValoareLei, [IDBanca] = @IDBanca WHERE (([IDCursValutar] = @Original_IDCursValutar) AND ([CodValuta] = @Original_CodValuta) AND ([Data] = @Original_Data) AND ([ValoareLei] = @Original_ValoareLei) AND ([IDBanca] = @Original_IDBanca));
SELECT IDCursValutar, CodValuta, Data, ValoareLei, IDBanca FROM ValutaCurs WHERE (IDCursValutar = @IDCursValutar)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ValoareLei" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValoareLei" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@IDBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IDBanca" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IDCursValutar" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IDCursValutar" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CodValuta" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CodValuta" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Data" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ValoareLei" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValoareLei" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_IDBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IDBanca" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IDCursValutar" ColumnName="IDCursValutar" DataSourceName="ESRP.dbo.ValutaCurs" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IDCursValutar" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IDCursValutar" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="IDCursValutar" DataSetColumn="IDCursValutar" />
              <Mapping SourceColumn="CodValuta" DataSetColumn="CodValuta" />
              <Mapping SourceColumn="Data" DataSetColumn="Data" />
              <Mapping SourceColumn="ValoareLei" DataSetColumn="ValoareLei" />
              <Mapping SourceColumn="IDBanca" DataSetColumn="IDBanca" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BanciTableAdapter" GeneratorDataComponentClassName="BanciTableAdapter" Name="Banci" UserDataComponentName="BanciTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ESRPConnectionString (Settings)" DbObjectName="ESRP.dbo.Banci" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Banci] WHERE (([IdBanca] = @Original_IdBanca) AND ([Denumire] = @Original_Denumire) AND ([BIC] = @Original_BIC))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_IdBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IdBanca" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BIC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BIC" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Banci] ([Denumire], [BIC]) VALUES (@Denumire, @BIC);
SELECT IdBanca, Denumire, BIC FROM Banci WHERE (IdBanca = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BIC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BIC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT IdBanca, Denumire, BIC FROM dbo.Banci</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Banci] SET [Denumire] = @Denumire, [BIC] = @BIC WHERE (([IdBanca] = @Original_IdBanca) AND ([Denumire] = @Original_Denumire) AND ([BIC] = @Original_BIC));
SELECT IdBanca, Denumire, BIC FROM Banci WHERE (IdBanca = @IdBanca)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BIC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BIC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_IdBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="IdBanca" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Denumire" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Denumire" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BIC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BIC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IdBanca" ColumnName="IdBanca" DataSourceName="ESRP.dbo.Banci" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@IdBanca" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="IdBanca" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="IdBanca" DataSetColumn="IdBanca" />
              <Mapping SourceColumn="Denumire" DataSetColumn="Denumire" />
              <Mapping SourceColumn="BIC" DataSetColumn="BIC" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ESRPDataSetValute" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="ESRPDataSetValute" msprop:Generator_UserDSName="ESRPDataSetValute">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Valuta" msprop:Generator_TableClassName="ValutaDataTable" msprop:Generator_TableVarName="tableValuta" msprop:Generator_TablePropName="Valuta" msprop:Generator_RowDeletingName="ValutaRowDeleting" msprop:Generator_UserTableName="Valuta" msprop:Generator_RowChangingName="ValutaRowChanging" msprop:Generator_RowEvHandlerName="ValutaRowChangeEventHandler" msprop:Generator_RowDeletedName="ValutaRowDeleted" msprop:Generator_RowEvArgName="ValutaRowChangeEvent" msprop:Generator_RowChangedName="ValutaRowChanged" msprop:Generator_RowClassName="ValutaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodValuta" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnCodValuta" msprop:Generator_ColumnPropNameInRow="CodValuta" msprop:Generator_ColumnPropNameInTable="CodValutaColumn" msprop:Generator_UserColumnName="CodValuta" type="xs:short" />
              <xs:element name="Denumire" msprop:Generator_ColumnVarNameInTable="columnDenumire" msprop:Generator_ColumnPropNameInRow="Denumire" msprop:Generator_ColumnPropNameInTable="DenumireColumn" msprop:Generator_UserColumnName="Denumire">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Simbol" msprop:Generator_ColumnVarNameInTable="columnSimbol" msprop:Generator_ColumnPropNameInRow="Simbol" msprop:Generator_ColumnPropNameInTable="SimbolColumn" msprop:Generator_UserColumnName="Simbol">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Utilizat" msprop:Generator_ColumnVarNameInTable="columnUtilizat" msprop:Generator_ColumnPropNameInRow="Utilizat" msprop:Generator_ColumnPropNameInTable="UtilizatColumn" msprop:Generator_UserColumnName="Utilizat" type="xs:boolean" />
              <xs:element name="MonedaImplicita" msprop:Generator_ColumnVarNameInTable="columnMonedaImplicita" msprop:Generator_ColumnPropNameInRow="MonedaImplicita" msprop:Generator_ColumnPropNameInTable="MonedaImplicitaColumn" msprop:Generator_UserColumnName="MonedaImplicita" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ValutaCurs" msprop:Generator_TableClassName="ValutaCursDataTable" msprop:Generator_TableVarName="tableValutaCurs" msprop:Generator_TablePropName="ValutaCurs" msprop:Generator_RowDeletingName="ValutaCursRowDeleting" msprop:Generator_UserTableName="ValutaCurs" msprop:Generator_RowChangingName="ValutaCursRowChanging" msprop:Generator_RowEvHandlerName="ValutaCursRowChangeEventHandler" msprop:Generator_RowDeletedName="ValutaCursRowDeleted" msprop:Generator_RowEvArgName="ValutaCursRowChangeEvent" msprop:Generator_RowChangedName="ValutaCursRowChanged" msprop:Generator_RowClassName="ValutaCursRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="IDCursValutar" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIDCursValutar" msprop:Generator_ColumnPropNameInRow="IDCursValutar" msprop:Generator_ColumnPropNameInTable="IDCursValutarColumn" msprop:Generator_UserColumnName="IDCursValutar" type="xs:int" />
              <xs:element name="CodValuta" msprop:Generator_ColumnVarNameInTable="columnCodValuta" msprop:Generator_ColumnPropNameInRow="CodValuta" msprop:Generator_ColumnPropNameInTable="CodValutaColumn" msprop:Generator_UserColumnName="CodValuta" type="xs:short" />
              <xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
              <xs:element name="ValoareLei" msprop:Generator_ColumnVarNameInTable="columnValoareLei" msprop:Generator_ColumnPropNameInRow="ValoareLei" msprop:Generator_ColumnPropNameInTable="ValoareLeiColumn" msprop:Generator_UserColumnName="ValoareLei" type="xs:double" />
              <xs:element name="IDBanca" msprop:Generator_ColumnVarNameInTable="columnIDBanca" msprop:Generator_ColumnPropNameInRow="IDBanca" msprop:Generator_ColumnPropNameInTable="IDBancaColumn" msprop:Generator_UserColumnName="IDBanca" type="xs:short" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Banci" msprop:Generator_TableClassName="BanciDataTable" msprop:Generator_TableVarName="tableBanci" msprop:Generator_TablePropName="Banci" msprop:Generator_RowDeletingName="BanciRowDeleting" msprop:Generator_UserTableName="Banci" msprop:Generator_RowChangingName="BanciRowChanging" msprop:Generator_RowEvHandlerName="BanciRowChangeEventHandler" msprop:Generator_RowDeletedName="BanciRowDeleted" msprop:Generator_RowEvArgName="BanciRowChangeEvent" msprop:Generator_RowChangedName="BanciRowChanged" msprop:Generator_RowClassName="BanciRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="IdBanca" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdBanca" msprop:Generator_ColumnPropNameInRow="IdBanca" msprop:Generator_ColumnPropNameInTable="IdBancaColumn" msprop:Generator_UserColumnName="IdBanca" type="xs:short" />
              <xs:element name="Denumire" msprop:Generator_ColumnVarNameInTable="columnDenumire" msprop:Generator_ColumnPropNameInRow="Denumire" msprop:Generator_ColumnPropNameInTable="DenumireColumn" msprop:Generator_UserColumnName="Denumire">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BIC" msprop:Generator_ColumnVarNameInTable="columnBIC" msprop:Generator_ColumnPropNameInRow="BIC" msprop:Generator_ColumnPropNameInTable="BICColumn" msprop:Generator_UserColumnName="BIC">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Valuta" />
      <xs:field xpath="mstns:CodValuta" />
    </xs:unique>
    <xs:unique name="ValutaCurs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ValutaCurs" />
      <xs:field xpath="mstns:IDCursValutar" />
    </xs:unique>
    <xs:unique name="Banci_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Banci" />
      <xs:field xpath="mstns:IdBanca" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_ValutaCurs_Valuta" msdata:parent="Valuta" msdata:child="ValutaCurs" msdata:parentkey="CodValuta" msdata:childkey="CodValuta" msprop:Generator_UserChildTable="ValutaCurs" msprop:Generator_ChildPropName="GetValutaCursRows" msprop:Generator_ParentPropName="ValutaRow" msprop:Generator_UserRelationName="FK_ValutaCurs_Valuta" msprop:Generator_RelationVarName="relationFK_ValutaCurs_Valuta" msprop:Generator_UserParentTable="Valuta" />
      <msdata:Relationship name="FK_ValutaCurs_Banci" msdata:parent="Banci" msdata:child="ValutaCurs" msdata:parentkey="IdBanca" msdata:childkey="IDBanca" msprop:Generator_UserChildTable="ValutaCurs" msprop:Generator_ChildPropName="GetValutaCursRows" msprop:Generator_UserParentTable="Banci" msprop:Generator_UserRelationName="FK_ValutaCurs_Banci" msprop:Generator_RelationVarName="relationFK_ValutaCurs_Banci" msprop:Generator_ParentPropName="BanciRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>